Quickbook API
Retrieve products account number ,product type and location
GET '/products/accountNumber/productsType'
Description
Get particular product by account number and productsType.
Authorization
The Authorization
header carried the API access token in the format AL client_id:client_secret
. Please see Security page for more information.
Content type
application/json
Uri Parameters
Parameters | Description | Required? |
---|---|---|
accountNumber | account number associated with a specific product service | true |
productsType | the products retrieve by is either passenger or courier | true |
Response
{
"id": "a1111c8c-c720-46c3-8534-2fcdd730040d",
"code": "standard_car",
"name": "Select",
"description": "Everyday choice and comfort - professional driver and medium car for up to 4 people and 2 large bags (TBS)",
"type": "PASSENGER",
"passengers": 2,
"luggage": 4,
"bicycle": false,
"brand": {
"name": "AddisonLee",
"code": "addisonlee",
"image": "https://static.addisonlee.com/partners/addisonlee/"
},
"availability": {
"available": true,
"LeadTime": "00:40:00"
}
}
]
Parameters | Description |
---|---|
id | Booking product id |
code | Code associated with a specific product |
name | Booking product name |
description | Booking product description |
image | Graphics representation of the product |
type | Booking product type |
passengers | Number of passengers allowed for this product |
luggage | Number of luggage allowed for this product |
bicycle | Is the specific product bike |
brand name | Booking provider name |
brand code | Code associated with a specific product provider |
brand image | Graphics representation of the product provider |
availability available | Checks for available services |
availability LeadTime | checks for available time |